package com.example.SpringBoot_demo.mapper;


import com.example.SpringBoot_demo.bean.Book;
import com.example.SpringBoot_demo.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {
    List<Book> viewBook();
    void  deleteBook(String bookId);
    void addBook(Book book);
    void changeBook(Book book);
    Book getBookById(String bookId);
    List<Book> getBook(String bookId, String bookName);
}
